import Layout from '@/layout'

const demoRouter = {
    name: 'paramsManage',
    path: '/system/setting',
    component: Layout,
    meta: {
        title: '系统设置',
        icon: 'el-icon-s-platform'
    },
    children: [
        {
            path: 'paramsManage',
            component: () => import('@/views/system/setting/sysParamsManage/index.vue'),
            name: 'paramsManage',
            meta: {title: '系统参数管理', noCache: false}
        },
        {
            path: 'dictManage',
            component: () => import('@/views/system/setting/dictManage/index.vue'),
            name: 'dictManage',
            meta: {title: '字典管理', noCache: false},
        },
        {
            path: 'dictItemManage',
            component: () => import('@/views/system/setting/dictManage/dictItemManage.vue'),
            name: 'dictItemManage',
            meta: {title: '字典管理', noCache: false, inner: true}
        },
    ]
}

export default demoRouter
